﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PSMock.Implementation
{
	public class MockedInstance
	{
		public object Instance { get; set; }

		/// <summary>
		/// Gets or sets the exception to be thrown when mocked (null if not throwing).
		/// </summary>
		public Exception ThrowException { get; set; }

		public MockedInstance(object instance)
		{
			Instance = instance;
		}
	}
}
